#include "BlocoMole.h"

using namespace std;

BlocoMole::BlocoMole()
{
	dureza = 1;
	setTipo(7);
}
BlocoMole::~BlocoMole(){}

void BlocoMole::setDureza(int Dureza)
{ 
	dureza = Dureza; 
}

//virtual
void BlocoMole::dec_dureza(Mineiro min)
{ 
	dureza -= min.getLevelPicareta(); 
}
bool BlocoMole::verificaGravidade()
{ 
	return FALSE; 
}
void BlocoMole::mudaGravidade(int i){ }
int BlocoMole::getIteracao() const
{
	return 0;
}
char BlocoMole::getFigura(int x) const
{
	char figura[] = { (char)218, (char)196, (char)196, (char)196, (char)191,
		(char)179, (char)176, (char)176, (char)176, (char)179,
		(char)179, (char)176, (char)176, (char)176, (char)179,
		(char)179, (char)176, (char)176, (char)176, (char)179,
		(char)192, (char)196, (char)196, (char)196, (char)217 };
	return figura[x];
}
int	BlocoMole::getDureza() const
{
	return dureza;
}